package com.snailvr.tv.contract;


import com.snailvr.tv.contract.base.BasePresenter;
import com.snailvr.tv.contract.base.BaseView;
import com.snailvr.tv.network.entity.ChannelInfoResponBean;
import com.snailvr.tv.network.entity.ChannelListResponBean;
import com.snailvr.tv.network.entity.PlayUrlResponBean;


/**
 * Created by Administrator on 2016/9/2.
 */
public interface ChannelContact {

    interface IChanelView extends BaseView {

        void showChanelList(ChannelListResponBean chanels);
        void showChanelInfo(ChannelInfoResponBean.DataBean chanelInfo);
        void showPlayings(PlayUrlResponBean _Event);


    }

    interface IChanelPresenter extends BasePresenter {
        void registerView(IChanelView view);

        void unregisterView();

        void loadPlayUrl(int room_id);

        void loadDefaultChannelInfo();

        void loadChanelInfo(int channel_id);

        void switchChannel(int channle_id, String type);

        void loadChanelList(int page_size, int page, boolean isLoadMore, boolean needClear);

    }
}
